-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generic Table First draft #435
Generic Table First draft #435
Conversation
Adding another enum alongside P4IDs for generic tables as well
* Adding varbit and a writeup
…nericdatatype in p4types
** list ** bag ** set ** ordered_set * Moving GenericTable spec update to one big section to keep it organized
* Adding more text on the data types in the spec * Adding Details on Operations in the Table categories
* Adding a table to show valid combinations of table properties * Adding default entry rules
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Miscellaneous comments and small fixes.
Signed-off-by: Sayan Bandyopadhyay <[email protected]>
Signed-off-by: Sayan Bandyopadhyay <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All comments addressed.
@jafingerhut @smolkaj @jonathan-dilorenzo Last call for comments/approval. it;d be nice to merge this into the dev-branch which in any case is DRAFT. @saynb Is this synced with main? |
The generic-table-dev branch needs to be synced with main. I can then git merge it in this private branch. Can you please help with that? |
@saynb Sure, just make the PR and tag me, thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merge remote-tracking branch 'p4lang/generic-table-dev' into generic_table_2 Signed-off-by: Bandyopadhyay, Sayan <[email protected]>
Signed-off-by: Sayan Bandyopadhyay <[email protected]>
Phase 1:
Objective : Phase 1 aims to provide support for a set of simple target-specific externs through GenericTables. Current APIs should work on the tables as intended. Read-write symmetry should be maintained wherever possible. Have a structure in place in p4info with which new type system and properties at different granularities can be specified and maintained.
Phase 2
Extend API list and other features.
Phase 3